package org.dromara.work.mapper;

import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.system.domain.vo.SysOssVo;
import org.dromara.work.domain.BeianAuditFile;
import org.dromara.work.domain.bo.BeianAuditFileSaveBo;
import org.dromara.work.domain.vo.BeianAuditFileVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 数公基平台备案附件Mapper接口
 *
 * @author Chen
 * @date 2024-01-19
 */
public interface BeianAuditFileMapper extends BaseMapperPlus<BeianAuditFile, BeianAuditFileVo> {

    /**
     * 查询geojson方式一，带属性
     */
    BeianAuditFileVo queryGeoFile (@Param("code") String code);

    /**
    *  查询geojson方式二，带属性
    */
    BeianAuditFileVo queryGeoWithCollection (@Param("code") String code);

    List<SysOssVo> queryAuditFile (@Param("code") String code);

    int insertGeoEntity(@Param("request")BeianAuditFileSaveBo bo);
}
